@include('layouts.homeheader')

		<form action="{{url('login')}}" method="post">
			{{csrf_field()}}
			<div class="cc_login_body">
			<div class="cc_main">
				<!--登录盒子开始-->
				<div class="cc_login_box">
					<ul class="cc_title_tabs">
						<li id="normallogin" class="cur">登录</li>
						<li id="mobilelogin" class="">手机动态码登录</li>
						<input type="hidden" id="logintype" value="normal">
					</ul>
					<ul class="cc_body_tab" id="normal_login" style="display: none;">
						<li class="cc_login_phone">
							<label class="icon_wz"><span class="zc_iuser "></span></label>
	                        <input class="phone_val"  id="normal_id" placeholder="请输入手机号/证件号"type="text">
	                    </li>
	                    <li class="cc_login_phone">
							<label class="icon_wz"><span class="zc_password "></span></label>
	                        <input class="phone_val"   placeholder="请输入密码"type="text">
	                    </li>
	                    <li class="zc_list_che">
	                        <label class="fl">
	                        	<span class="zc_blyes"></span>
	                        	<span class="zc_blyes_kong"></span>
	                        	<input id="autoLogin" checked="" class="login_checkbox" type="checkbox">
	                        	<span style="margin-left: 23px;">30天内自动登陆</span>
	                        </label>
	                        <a href="" class="fr" >忘记密码？</a>
	                        <div class="clear"></div>
	                    </li>
					</ul>
					<ul class="cc_body_tab" id="mobile_login">
						<li class="cc_login_phone">
							<label class="icon_wz"><span class="zc_iuser "></span></label>
	                        <input class="phone_val" name="accounts"  placeholder="请输入注册手机号"type="text">
	                    </li>
	                    <li class="cc_login_phone alter">
							<label class="icon_wz"><span class="zc_password "></span></label>
	                        <input class="phone_val" name="password" placeholder="请输入密码"type="password">
	                    </li>

	                    <li class="zc_list_che">
	                        <label class="fl">
	                        	<span class="zc_blyes"></span>
	                        	<span class="zc_blyes_kong"></span>
	                        	<input id="autoLogin" checked="" class="login_checkbox" type="checkbox">
	                        	<span style="margin-left: 23px;">30天内自动登陆</span>
	                        </label>
	                        <a href="" class="fr" >忘记密码？</a>
	                        <div class="clear"></div>
	                    </li>
					</ul>
					<ul class="login_sub" id="login_sub">
	                	<li class="cc_login_sub"><input class="btn_login" value="登录" id="loginBt" type="submit"></li>
	                	<li class="cc_register_sub">
	                		<div class="zc_login_rbox">还不是会员？
	                			<a href="{{url('register')}}" rel="nofollow" >立即注册</a>
	                		</div>
	                	</li>
	            	</ul>
					
					
					
				</div>
				<!--登录盒子结束-->
			</div>
		</div>
		</form>
<!-- 简单介绍区域 -->
<div id="p_simple">
	<div class="p_instruction">
		<ul>
			<li>
				<i class="p_yecx"></i>
				<p>
					<b>100+</b>
					车型
				</p>
			</li>

			<li>
				<i class="p_yewd"></i>
				<p>
					<b>1000+</b>
					网点
				</p>
			</li>

			<li>
				<i class="p_yecxn"></i>
				<p>
					<b>100%</b>
					车险
				</p>
			</li>

			<li>
				<i class="p_yelc"></i>
				<p>
					无限里程
				</p>
			</li>
		</ul>
	</div>
</div>
<!-- 简单介绍区域结束 -->
@include('layouts.homezuchedeclare')

<!-- 页脚公共部分 -->
<div id="p_zc_footcopyright" style="background: #fff">
	<div class="p_zcmain">
		<div class="p_ainfor" style="border: none">
			<a href="javascript:;">关于我们</a>
			<a href="javascript:;">投资者关系</a>
			<a href="javascript:;">新闻中心</a>
			<a href="javascript:;">加盟合作</a>
			<a href="javascript:;">隐私保护</a>
			<a href="javascript:;">网站导航</a>
			<a href="javascript:;">联系我们</a>
			<a href="javascript:;">招贤纳士</a>
			<a class="p_engwz">
				English
				<i class="p_eng_icon"></i>
			</a>
		</div>
		<div class="p_zc_copyright">
			<p class="p_f1">
				Copyright©2008-2016 www.zuche.com All Rights Reserved.　神州租车官网 京ICP备10005002号   京公网安备号 11010502026705
			</p>
			<p class="p_fr">
				如果您对神州租车网站有任何意见，欢迎发送邮件到
				<a href="javascript:;" class="p_yellowmailt">web@zuche.com</a>
			</p>
			<p class="p_clear p_pt10">
				<a href="javascript:;" class="p_sz_k"></a>
				<a href="javascript:;" class="p_sz_c"></a>
			</p>
		</div>
	</div>
</div>
<!-- 页脚公共部分结束 -->

</body>

</html>

<script src="{{asset('public/homestyle/js/jquery.js')}}"></script>
<script>
	$(function () {
		$('form').submit(function () {

			var accounts = $('input[name=accounts]').val();
			var password = $('input[name=password]').val();
			$.post("{{url('login1')}}",{'_token':'{{csrf_token()}}','accounts':accounts,'password':password},function(data){
				if(data.status == 0){
					alert(data.message);
				}else if(data.status == 1){
					alert(data.message);
					location.href="{{url('index')}}";
				}
			})

			return false;
		})
	})
</script>